package com.zito.bean;

import javax.validation.groups.Default;


import com.downlove.validation.notnull.NotNull;
import com.downlove.validation.strlength.CheckLength;
import com.zito.pojo.InvestPOJO;

@SuppressWarnings("serial")
public class Invest extends InvestPOJO {
	private Long id;
	@NotNull(message = "标题不能为空", groups = { Default.class })
	@CheckLength(message = "标题字符长度不能小于4个字符，不能大于200个字符，一个中文为2个字符", min = 4, max = 200, groups = { Default.class })
	private String title;
	@CheckLength(message = "说明长度不能大于1000个字符",  max = 1000, groups = { Default.class })
	private String info;
	private String starttime;
	private String endtime;
	private int takeinnum;
	private int status;
	private Long createuserid;
	private String createusername;
	private String createtime;
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getInfo() {
		return info;
	}
	public void setInfo(String info) {
		this.info = info;
	}
	public String getStarttime() {
		return starttime;
	}
	public void setStarttime(String starttime) {
		this.starttime = starttime;
	}
	public String getEndtime() {
		return endtime;
	}
	public void setEndtime(String endtime) {
		this.endtime = endtime;
	}
	public int getTakeinnum() {
		return takeinnum;
	}
	public void setTakeinnum(int takeinnum) {
		this.takeinnum = takeinnum;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public Long getCreateuserid() {
		return createuserid;
	}
	public void setCreateuserid(Long createuserid) {
		this.createuserid = createuserid;
	}
	public String getCreateusername() {
		return createusername;
	}
	public void setCreateusername(String createusername) {
		this.createusername = createusername;
	}
	public String getCreatetime() {
		return createtime;
	}
	public void setCreatetime(String createtime) {
		this.createtime = createtime;
	}

}
